package com.cheng.student.beans;

public class Teacher
    extends Power
{
    private String name;                //姓名
    private String payrollNumber;       //工资号
    private String password;            //密码
    private String headPortraitPath;        //头像（相对于项目路径）

    public Teacher() { }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getPayrollNumber()
    {
        return payrollNumber;
    }

    public void setPayrollNumber(String payrollNumber)
    {
        this.payrollNumber = payrollNumber;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getHeadPortraitPath()
    {
        return headPortraitPath;
    }

    public void setHeadPortraitPath(String headPortraitPath)
    {
        this.headPortraitPath = headPortraitPath;
    }

    @Override
    public String toString()
    {
        return "Teacher{" +
                "name='" + name + '\'' +
                ", payrollNumber='" + payrollNumber + '\'' +
                ", password='" + password + '\'' +
                ", headPortraitPath='" + headPortraitPath + '\'' +
                '}';
    }
}
